package main.framework.resource;

import java.util.List;

/**
 * This class represents a resource data object.
 */
public class ResourceData {

	private Resource resource;
	private List<String[]> data;
	
	/**
	 * Creates a resource data object.
	 * 
	 * @param data The stored data.
	 * @param resource The associated resource.
	 */
	public ResourceData(List<String[]> data, Resource resource) {
		this.data = data;
		this.resource = resource;
	}
	
	/**
	 * Gets the stored data.
	 * 
	 * @return The stored data.
	 */
	public List<String[]> getData() {
		return this.data;
	}

	/**
	 * Gets the associated resource.
	 * 
	 * @return The associated resource.
	 */
	public Resource getResource() {
		return this.resource;
	}

}
